package com.thz.houserental.infrastructure.web.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UploadDto {
    @NotEmpty
    private String key;
    
    @NotEmpty
    private String businessId;
    
    @NotEmpty
    @Schema(description = "文件类型 imp4/image: String")
    private String type;
}
